package com.intel.two.service.user;


import com.intel.two.pojo.user.User;
import com.intel.two.vo.Result;

import javax.servlet.http.HttpSession;

/**
 * @Author: Zz
 * @Description: TODO
 * @DateTime: 2022/10/13 14:06
 **/
/*
 *                        .::::.
 *                      .::::::::.
 *                     :::::::::::
 *                  ..:::::::::::'
 *               '::::::::::::'
 *                 .::::::::::
 *            '::::::::::::::..
 *                 ..::::::::::::.
 *               ``::::::::::::::::
 *                ::::``:::::::::'        .:::.
 *               ::::'   ':::::'       .::::::::.
 *             .::::'      ::::     .:::::::'::::.
 *            .:::'       :::::  .:::::::::' ':::::.
 *           .::'        :::::.:::::::::'      ':::::.
 *          .::'         ::::::::::::::'         ``::::.
 *      ...:::           ::::::::::::'              ``::.
 *     ````':.          ':::::::::'                  ::::..
 *                        '.:::::'                    ':'````..
 */

public interface UserService {
    //新增用户
    Result save(User user);
    //修改用户信息
    Result update(User user);
    //登录
    Result login(User user, HttpSession session);

}
